package com.hoshiibuy.sku.entity.vo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang3.StringUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 基础商品表SKU
* </p>
*
* @author zhangshuhu
* @since 2019-05-05
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("base_sku")
    @ApiModel(value="BaseSkuDetailVO对象", description="基础商品表SKU")
    public class BaseSkuDetailVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "spuid")
    @TableField("spuid")
    private Long spuid;

    @ApiModelProperty(value = "sku编号")
    @TableField("skuno")
    private String skuno;

    @ApiModelProperty(value = "条形码")
    @TableField("barcode")
    private String barcode;

    @ApiModelProperty(value = "箱码")
    @TableField("packetcode")
    private String packetcode;

    @ApiModelProperty(value = "是否付库存")
    @TableField("is_stored")
    private Integer isStored;

    @ApiModelProperty(value = "属性")
    @TableField("extend_property")
    private String extendProperty;

    @ApiModelProperty(value = "规格")
    @TableField("extend_spec")
    private String extendSpec;

    @ApiModelProperty(value = "sku商品标题")
    @TableField("sku_title")
    private String skuTitle;

    @ApiModelProperty(value = "创建时间")
    @TableField("createdtime")
    private LocalDateTime createdtime;

    @ApiModelProperty(value = "修改时间")
    @TableField("updatedtime")
    private LocalDateTime updatedtime;

    @ApiModelProperty(value = "建立人")
    @TableField("createdby")
    private String createdby;

    @ApiModelProperty(value = "修改人")
    @TableField("updatedby")
    private String updatedby;

    @ApiModelProperty(value = "状态  0-档案 1-已审批 2-下架")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "包装单位")
    @TableField("packet_unit")
    private String packetUnit;

    @ApiModelProperty(value = "商品重量")
    @TableField("weight")
    private BigDecimal weight;

    @ApiModelProperty(value = "是否删除")
    @TableField("deleted")
    private Integer deleted;
}
